package com.lyj.pojo.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class DeviceAddDTO {
    @NotBlank(message = "设备名称不能为空")
    private String deviceName;

    @NotNull(message = "家庭ID不能为空")
    private Integer familyId;
}